<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TestBat.Frontend.Controllers.ViewData.Result.DetailsViewData>" %>
<%@ Import Namespace="TestBat.Frontend.Helpers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Header" runat="server">
	Result details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<%= Html.ImageLink("Results", "Overview", null, "~/Styles/Icons/16x16/back.png", "Back to the results overview") %>

<div id="overview" style="margin:0px auto; width: 500px">
    <div class="overviewLink" style="width: 500px; margin: 0px; margin-top: 100px;">
        <h2 style="padding: 5px">Your test results for schedule <%= Model.Schedule.Name %>:</h2>
        <p style="text-align: center; margin: 100px;">You scored:<span style="font-size: 3.0em;"> <%= String.Format("{0:0.00}", Model.Results.PercentageCorrect)%> %</span> </p>
    </div>
</div>

</asp:Content>
